
import Vue from 'vue';
import App from './App';
import router from './router';
import axios from 'axios';
import ElementUI from 'element-ui'; 
import 'element-ui/lib/theme-chalk/index.css';
import PuzzleVerification from 'vue-puzzle-verification';


//设置网络请求的url
axios.defaults.baseURL = 'http://localhost:8080';


// 全局配置
Vue.config.productionTip = false 
Vue.prototype.$axios = axios
Vue .use(ElementUI)
// 使用封装的登录验证vue组件
Vue.use(PuzzleVerification)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
